Short:    Ghostscript5.03 data archive, get a bin archive
Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Steffen Opel)/Port(me)
Uploader: JoopvandeWege@mail.mococo.nl
Type:     gfx/show

This is the Amiga port of Ghostscript5.03. Ghostscript is a Postscript
interpreter with support for Level 2 PS and PDF. This release includes
most popular printers and fileformats including an updated Amiga display
driver.

Features:
Ghostscript supports three Amiga specific devices (but see below for ILBM):
	amiga           Amiga Workbench window
	amiga_custom    Amiga custom screenmodes
	amiga_printer   Amiga printer.device
(amiga_printer seems to have problems, please use one of the internal ones)
(redesign done by Steffen Opel opel@sto.isdn.uni-mannheim.de)

The device 'amiga' opens an Intuition window on the Workbench screen to
display the image. Its usage should be pretty obvious.

The device 'amiga_custom' opens a Customscreen to display the image. This 
allows any Display Mode available in the screenmode preferences to be used
with Ghostscript too.

The device 'amiga_printer' is a convenient alternative for the printer devices
provided by Ghostscript itself. It facilitates standard Amiga printing via the
Workbench printer drivers and respects most settings in the graphics 
preferences as described in the Workbench documentation.

All three devices are supporting -g and -r as described in 'use.txt'.

Ghostscript currently has only limited support for IFF ILBM files:
	amiga_ilbm    IFF ILBM file format

The device 'amiga_ilbm' works like any other Ghostscript raster file or 
printer device (i.e. pbm), see 'Choosing the output device' above on how 
to specify an output file.
It supports dithered grayscale only and is not portable to other platforms 
because it uses iffparse.library. A portable implementation with color 
support is currently under development.

This port requires:
- An  Amiga  equipped Kickstart 2.04 or higher.
- Approx. 4.7 MBytes of hard disk space available.
- A  minimum  of 1 MByte of chip memory, depending on what you want to do
  with  the  interpreter.  Printer output requires at least 2 MBytes of
  contiguous memory (any memory, not necessarily chip memory).
- A bunch of Postscript/Ghostscript fonts.

Comments/Suggestions/Bugs to:
JoopvandeWege@mail.mococo.nl
Please use a Subject field with the name 'GS503' in it.
Please direct all mail to me except when you're 100% sure it is a GS
problem then you can use the Aladdin email address.

Joop van de Wege


Getting Ghostscript.
Download one of the binary archives which match your CPU. It contains
one binary.You might need a patch which is only needed if:
- you have an 040
- and Kickstart 3.1
- and are *NOT* running one of the 040 binaries.
- and you are *NOT* using the latest 'setpatch'.
(it fixes a couple of bugs in 3.1. The symptoms are GURU 8..0B. If you get
them then you need SetMathPatch, probably. Read the docs of SetMathPatch)

How to use Ghostscript.
- Unpack the archive gs503data.lha to a suitable HD with enough room (~3.5M).
  for example 'Work:'.
  A directory 'Ghostscript' will be created and all files needed are found
  within this directory (Work:Ghostscript).
- Unpack one of the special binary archives to the same HD and the executable
  will automatically be placed in the same directory (Work:Ghostscript/gs_000).
  Further do:
  - Assign Ghostscript: Work:Ghostscript
  - path Ghostscript: add
    (Optionally, rename the binary gs_xxx to 'gs')
    Now you can call 'gs' from anywhere with or without arguments. If you add
    the above fragment (Assign ... add) to your s:user-startup then it will be
    available everytime you start your computer
- Unpack gs501fonts-std.lha, if you don't have a set of good quality
  postscript fonts. The advantage of using this archive is that you don't
  need to mess with the file 'Fontmap'. The fonts will be placed in 
  'Work:Ghostscript/fonts'.
Or if you already have postscript fonts, do the following:
  - Assign PSFonts: to your postscript font directory (anywhere)
  - create file PSFonts:FONTMAP with at least the following entries:

% fontmap aka Fontmap
% ----------------------------------------------------------------
/Times-Roman                    (ptmr.gsf)      ;
/Times-Italic                   (ptmri.gsf)     ;
/Times-Bold                     (ptmb.gsf)      ;
/Times-BoldItalic               (ptmbi.gsf)     ;

    It does not matter, which font files are assigned (see below)

  - entries within the FONTMAP file at PSFonts: must follow the
    scheme described below:

          /Fontname             (Filename)      ;

    for example

          /Helvetica            (Helvet.pfb)    ;

    which means, the corresponding files must actually exist.
    But one also my substitute Fonts symbolically by other fonts,
    like for example:

          /Helvetica_Bold       /Helvetica      ;

  - the variables in ENV: and ENVARC: must look as follows:

      Variable          Content        Remark

      GS_FONTPATH                      do not set: delete this one!!
      GS_LIB            PSFonts:
      GS_OPTIONS                       set it, but keep it empty
      GS_DEVICE         amiga          for example (its the default)


See the 'Ghostscript/docs/use.txt' directory for more information, like
commandline options. Some notes:
- Watch out for case sensitivity when using commandline options, -sOutputFile
  is not equal to -soutputfile !!!!!
- Set your stack high enough, 32000 bytes should do it (stack 32000).

Some very useful commandlines with comments in ():
gs -h (outputs small help on most important arguments, and lists all availble
       output devices)
gs (gs opens window on WB and use its palette, use 256color WB if possible,
    there is a problem with NewIcons, it looks like all palette entries are
    reserved by NewIcons so GS will only display in B/W if you use NewIcons)
gs -sDEVICE=png16m (uses the built-in PNG support instead of window on WB)
gs -sOutputFile=ram:output%02d.png -sDEVICE=png256
   (output to files numbered ram:output01.png/ram:output02.png/etc using
    the PNG format (8bit))
gs -r120 (use 120dpi as resolution instead of built-in 72, uses heaps of
          memory at high values)
Arguments useful for PDF files (and ps documents conforming to DSC ?)
gs -dFirstPage=pagenumber (starts on the given page of the document)
gs -dLastPage=pagenumber (Stops after the given page of the document)
See use.doc/Switches for a complete overview of what is available.

(taken from 'new-user.txt')
PDF encryption
--------------

A user outside the U.S. has created code that allows processing of encrypted
PDF files.  Unfortunately, current U.S. export control laws don't allow
redistribution of this code from a site in the U.S., even though it's freely
available to anyone anywhere in the world from its author's site, so you'll
have to get this code from:

        http://www.ozemail.com.au/~geoffk/pdfencrypt/pdf_sec.ps

If that doesn't work, try:

        http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/pdf_sec.ps

The patch consists entirely of PostScript code, so it can be added to a
running version of Ghostscript -- you don't have to recompile anything.  It
is a single file that replaces the file pdf_sec.ps in the standard
Ghostscript fileset (Ghostscript:data/pdf_sec.ps).


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
      69      69  0.0% 14-Aug-97 05:48:50 +font2c
     108     107  0.9% 14-Aug-97 05:48:48 +gsbj
      52      52  0.0% 14-Aug-97 05:48:50 +bdftops
     110     108  1.8% 14-Aug-97 05:48:48 +gsdj
     110     108  1.8% 14-Aug-97 05:48:48 +gsdj500
     111     108  2.7% 14-Aug-97 05:48:48 +gslj
     108     107  0.9% 14-Aug-97 05:48:48 +gslp
      35      35  0.0% 14-Aug-97 05:48:50 +gsnd
     394     274 30.4% 14-Aug-97 05:48:50 +pdf2dsc
     339     253 25.3% 14-Aug-97 05:48:50 +pdf2ps
     154     130 15.5% 14-Aug-97 05:48:52 +printafm
     639     304 52.4% 14-Aug-97 05:48:52 +ps2ascii
    1575     753 52.1% 14-Aug-97 05:48:52 +ps2epsi
     524     318 39.3% 14-Aug-97 05:48:52 +ps2pdf
      52      52  0.0% 14-Aug-97 05:48:52 +wftopfa
   13582    4787 64.7% 14-Aug-97 05:52:10 +Fontmap
   11046    2793 74.7% 14-Aug-97 05:52:10 +cbjc600.ppd
   11389    2862 74.8% 14-Aug-97 05:52:10 +cbjc800.ppd
   45904   16313 64.4% 14-Aug-97 05:52:10 +gs_init.ps
    9675    3860 60.1% 14-Aug-97 05:52:10 +gs_btokn.ps
    2707    1214 55.1% 14-Aug-97 05:52:10 +gs_ccfnt.ps
   18805    6736 64.1% 14-Aug-97 05:52:10 +gs_cff.ps
   12668    4137 67.3% 14-Aug-97 05:52:10 +gs_cidfn.ps
    7673    2537 66.9% 14-Aug-97 05:52:10 +gs_cmap.ps
    7729    2994 61.2% 14-Aug-97 05:52:10 +gs_diskf.ps
    1307     671 48.6% 14-Aug-97 05:52:10 +gs_dpnxt.ps
    1627     782 51.9% 14-Aug-97 05:52:10 +gs_dps.ps
    4408    1779 59.6% 14-Aug-97 05:52:10 +gs_dps1.ps
    6704    2410 64.0% 14-Aug-97 05:52:10 +gs_dps2.ps
    2225    1089 51.0% 14-Aug-97 05:52:10 +gs_epsf.ps
   28363    9733 65.6% 14-Aug-97 05:52:10 +gs_fonts.ps
    4091    1677 59.0% 14-Aug-97 05:52:10 +gs_kanji.ps
   14507    5023 65.3% 14-Aug-97 05:52:10 +gs_lev2.ps
    4491    1841 59.0% 14-Aug-97 05:52:10 +gs_pfile.ps
   19196    6035 68.5% 14-Aug-97 05:52:10 +gs_res.ps
   21612    6834 68.3% 14-Aug-97 05:52:10 +gs_setpd.ps
   10549    3661 65.2% 14-Aug-97 05:52:10 +gs_statd.ps
   14674    5122 65.0% 14-Aug-97 05:52:10 +gs_ttf.ps
    1778     858 51.7% 14-Aug-97 05:52:10 +gs_typ42.ps
    5009    2127 57.5% 14-Aug-97 05:52:10 +gs_type1.ps
    2433    1129 53.5% 14-Aug-97 05:52:10 +gs_dbt_e.ps
    2939    1326 54.8% 14-Aug-97 05:52:10 +gs_iso_e.ps
    3440     885 74.2% 14-Aug-97 05:52:10 +gs_ksb_e.ps
    3388    1276 62.3% 14-Aug-97 05:52:10 +gs_std_e.ps
    3238    1494 53.8% 14-Aug-97 05:52:10 +gs_sym_e.ps
    4272     931 78.2% 14-Aug-97 05:52:10 +acctest.ps
    2376    1180 50.3% 14-Aug-97 05:52:10 +align.ps
   23444    8097 65.4% 14-Aug-97 05:52:10 +bdftops.ps
     295     178 39.6% 14-Aug-97 05:52:10 +decrypt.ps
    1871     937 49.9% 14-Aug-97 05:52:10 +caption.ps
    7158    2161 69.8% 14-Aug-97 05:52:10 +docie.ps
   19815    6536 67.0% 14-Aug-97 05:52:10 +font2c.ps
   15708    5319 66.1% 14-Aug-97 05:52:10 +gslp.ps
    5688    2410 57.6% 14-Aug-97 05:52:10 +impath.ps
      59      50 15.2% 14-Aug-97 05:52:10 +level1.ps
    1455     589 59.5% 14-Aug-97 05:52:10 +landscap.ps
    3237    1026 68.3% 14-Aug-97 05:52:10 +lines.ps
    3622    1444 60.1% 14-Aug-97 05:52:10 +markhint.ps
    2039     905 55.6% 14-Aug-97 05:52:10 +markpath.ps
   10506    3940 62.4% 14-Aug-97 05:52:10 +packfile.ps
    2132    1027 51.8% 14-Aug-97 05:52:10 +pcharstr.ps
    3387    1449 57.2% 14-Aug-97 05:52:10 +pfbtogs.ps
    2126     905 57.4% 14-Aug-97 05:52:10 +ppath.ps
    4239    1581 62.7% 14-Aug-97 05:52:10 +prfont.ps
    3187    1361 57.2% 14-Aug-97 05:52:10 +printafm.ps
   22313    7077 68.2% 14-Aug-97 05:52:10 +ps2ai.ps
   39665   12893 67.4% 14-Aug-97 05:52:10 +ps2ascii.ps
    7209    2578 64.2% 14-Aug-97 05:52:10 +ps2epsi.ps
     119      97 18.4% 14-Aug-97 05:52:10 +ps2image.ps
       5       5  0.0% 14-Aug-97 05:52:10 +quit.ps
    3081    1352 56.1% 14-Aug-97 05:52:10 +showchar.ps
       9       9  0.0% 14-Aug-97 05:52:10 +showpage.ps
   25847    7139 72.3% 14-Aug-97 05:52:10 +stcinfo.ps
    5338    2136 59.9% 14-Aug-97 05:52:10 +stcolor.ps
    1676     863 48.5% 14-Aug-97 05:52:10 +traceimg.ps
    2782    1204 56.7% 14-Aug-97 05:52:10 +traceop.ps
    2685    1244 53.6% 14-Aug-97 05:52:10 +type1enc.ps
    7684    2656 65.4% 14-Aug-97 05:52:10 +type1ops.ps
    6284    1950 68.9% 14-Aug-97 05:52:10 +uninfo.ps
    1900     791 58.3% 14-Aug-97 05:52:10 +unprot.ps
    2335    1163 50.1% 14-Aug-97 05:52:10 +viewcmyk.ps
    4694    1803 61.5% 14-Aug-97 05:52:10 +viewgif.ps
    4230    1878 55.6% 14-Aug-97 05:52:10 +viewjpeg.ps
    4121    1857 54.9% 14-Aug-97 05:52:10 +viewpcx.ps
    3991    1674 58.0% 14-Aug-97 05:52:10 +viewpbm.ps
    1431     718 49.8% 14-Aug-97 05:52:10 +viewps2a.ps
    3893    1627 58.2% 14-Aug-97 05:52:10 +winmaps.ps
    9071    3436 62.1% 14-Aug-97 05:52:10 +wftopfa.ps
   18226    5906 67.5% 14-Aug-97 05:52:10 +wrfont.ps
    2612    1014 61.1% 14-Aug-97 05:52:10 +zeroline.ps
    5797    2234 61.4% 14-Aug-97 05:52:10 +gs_l2img.ps
   18383    6338 65.5% 14-Aug-97 05:52:10 +gs_pdf.ps
    4064    1680 58.6% 14-Aug-97 05:52:10 +pdf2dsc.ps
   14839    5307 64.2% 14-Aug-97 05:52:10 +pdf_base.ps
   10382    3804 63.3% 14-Aug-97 05:52:10 +pdf_draw.ps
   13853    4478 67.6% 14-Aug-97 05:52:10 +pdf_font.ps
   14757    5284 64.1% 14-Aug-97 05:52:10 +pdf_main.ps
    2328    1137 51.1% 14-Aug-97 05:52:10 +pdf_sec.ps
    7981    2873 64.0% 14-Aug-97 05:52:10 +pdf_2ps.ps
    4108    1360 66.8% 14-Aug-97 05:52:10 +gs_mex_e.ps
    2547    1140 55.2% 14-Aug-97 05:52:10 +gs_mro_e.ps
    1851     878 52.5% 14-Aug-97 05:52:10 +gs_pdf_e.ps
    1710     816 52.2% 14-Aug-97 05:52:10 +gs_wan_e.ps
   11313    3955 65.0% 14-Aug-97 05:52:10 +gs_pdfwr.ps
    1531     582 61.9% 14-Aug-97 05:52:10 +bjc610a0.upp
    1520     572 62.3% 14-Aug-97 05:52:10 +bjc610a1.upp
    1521     569 62.5% 14-Aug-97 05:52:10 +bjc610a2.upp
    1526     475 68.8% 14-Aug-97 05:52:10 +bjc610a3.upp
    1533     577 62.3% 14-Aug-97 05:52:10 +bjc610a4.upp
    1521     575 62.1% 14-Aug-97 05:52:10 +bjc610a5.upp
    1521     575 62.1% 14-Aug-97 05:52:10 +bjc610a6.upp
    1524     476 68.7% 14-Aug-97 05:52:10 +bjc610a7.upp
    1530     581 62.0% 14-Aug-97 05:52:10 +bjc610a8.upp
    1520     570 62.5% 14-Aug-97 05:52:10 +bjc610b1.upp
    1521     572 62.3% 14-Aug-97 05:52:10 +bjc610b2.upp
    1526     572 62.5% 14-Aug-97 05:52:10 +bjc610b3.upp
    1533     567 63.0% 14-Aug-97 05:52:10 +bjc610b4.upp
    1521     576 62.1% 14-Aug-97 05:52:10 +bjc610b6.upp
    1525     571 62.5% 14-Aug-97 05:52:10 +bjc610b7.upp
    1530     574 62.4% 14-Aug-97 05:52:10 +bjc610b8.upp
    1725     535 68.9% 14-Aug-97 05:52:10 +cdj550.upp
    1102     584 47.0% 14-Aug-97 05:52:10 +necp2x6.upp
    1078     583 45.9% 14-Aug-97 05:52:10 +necp2x.upp
     211     166 21.3% 14-Aug-97 05:52:10 +ras1.upp
     215     167 22.3% 14-Aug-97 05:52:10 +ras24.upp
     210     171 18.5% 14-Aug-97 05:52:10 +ras3.upp
     194     159 18.0% 14-Aug-97 05:52:10 +ras32.upp
     216     175 18.9% 14-Aug-97 05:52:10 +ras4.upp
     205     161 21.4% 14-Aug-97 05:52:10 +ras8m.upp
    1866     566 69.6% 14-Aug-97 05:52:10 +stc.upp
    2060     643 68.7% 14-Aug-97 05:52:10 +stc1520h.upp
    1847     558 69.7% 14-Aug-97 05:52:10 +stc2.upp
    2179     702 67.7% 14-Aug-97 05:52:10 +stc2s_h.upp
    1822     555 69.5% 14-Aug-97 05:52:10 +stc2_h.upp
    1846     619 66.4% 14-Aug-97 05:52:10 +stc500p.upp
    1846     598 67.6% 14-Aug-97 05:52:10 +stc500ph.upp
    2187     657 69.9% 14-Aug-97 05:52:10 +stc600ih.upp
    1094     547 50.0% 14-Aug-97 05:52:10 +stc600p.upp
    1058     537 49.2% 14-Aug-97 05:52:10 +stc600pl.upp
    2064     645 68.7% 14-Aug-97 05:52:10 +stc800ih.upp
    1058     534 49.5% 14-Aug-97 05:52:10 +stc800p.upp
    1040     527 49.3% 14-Aug-97 05:52:10 +stc800pl.upp
     622     343 44.8% 14-Aug-97 05:52:10 +stcany.upp
    1856     566 69.5% 14-Aug-97 05:52:10 +stc_h.upp
     683     381 44.2% 14-Aug-97 05:52:10 +stc_l.upp
     501     297 40.7% 14-Aug-97 05:49:46 +COPYING
  175280   65853 62.4% 14-Aug-97 05:49:48 +NEWS
   11409    4534 60.2% 14-Aug-97 05:49:48 +PUBLIC
    7040    2669 62.0% 14-Aug-97 05:49:48 +README
    2189     992 54.6% 14-Aug-97 05:49:50 +bug-form.txt
   10988    4522 58.8% 14-Aug-97 05:49:50 +c-style.txt
    6149    2868 53.3% 14-Aug-97 05:49:50 +current.txt
  105854   40287 61.9% 14-Aug-97 05:49:50 +devices.txt
   56412   19063 66.2% 14-Aug-97 05:49:52 +drivers.txt
   20998    8419 59.9% 14-Aug-97 05:49:52 +fonts.txt
    8041    3652 54.5% 14-Aug-97 05:49:52 +helpers.txt
   10528    4528 56.9% 14-Aug-97 05:49:52 +hershey.txt
   12424    5113 58.8% 14-Aug-97 05:49:54 +history1.txt
  191160   74535 61.0% 14-Aug-97 05:49:56 +history2.txt
  303513  112924 62.7% 14-Aug-97 05:49:58 +history3.txt
    2501    1204 51.8% 14-Aug-97 05:49:58 +humor.txt
    9098    3677 59.5% 14-Aug-97 05:49:58 +install.txt
   29725   10499 64.6% 14-Aug-97 05:50:00 +language.txt
   13773    5137 62.7% 14-Aug-97 05:50:00 +lib.txt
   61137   23026 62.3% 14-Aug-97 05:50:00 +make.txt
   24202    9812 59.4% 14-Aug-97 05:50:00 +new-user.txt
    2517    1188 52.8% 14-Aug-97 05:50:02 +ps2epsi.txt
    4285    2050 52.1% 14-Aug-97 05:50:02 +ps2pdf.txt
    8579    3354 60.9% 14-Aug-97 05:50:02 +psfiles.txt
    3160    1451 54.0% 14-Aug-97 05:50:02 +public.txt
    6365    2772 56.4% 14-Aug-97 05:50:04 +unix-lpr.txt
   51369   18836 63.3% 14-Aug-97 05:50:04 +use.txt
    6756    2790 58.7% 14-Aug-97 05:50:04 +xfonts.txt
    1452     647 55.4% 14-Aug-97 05:50:06 +alphabet.ps
    2932    1318 55.0% 14-Aug-97 05:50:06 +chess.ps
   58543   33081 43.4% 14-Aug-97 05:50:06 +cheq.ps
    1815     426 76.5% 14-Aug-97 05:50:06 +colorcir.ps
   10520    4583 56.4% 14-Aug-97 05:50:08 +escher.ps
   25499   10690 58.0% 14-Aug-97 05:50:08 +golfer.ps
    1529     554 63.7% 14-Aug-97 05:50:08 +grayalph.ps
    2071     746 63.9% 14-Aug-97 05:50:08 +snowflak.ps
   78519   31213 60.2% 14-Aug-97 05:50:08 +tiger.ps
    2465    1230 50.1% 14-Aug-97 05:50:10 +waterfal.ps
    3020    1381 54.2% 14-Aug-97 05:50:10 +ridt91.eps
   11700    4871 58.3% 14-Aug-97 05:48:56 +gs.1
    1373     710 48.2% 14-Aug-97 05:48:56 +pdf2dsc.1
     705     381 45.9% 14-Aug-97 05:48:56 +pdf2ps.1
    1047     517 50.6% 14-Aug-97 05:48:56 +ps2ascii.1
    2620    1221 53.3% 14-Aug-97 05:48:58 +ps2epsi.1
    1282     666 48.0% 14-Aug-97 05:48:58 +ps2pdf.1
    7533    3384 55.0% 16-Aug-97 10:30:06 +Ghostscript503.readme
-------- ------- ----- --------- --------
 2128532  807477 62.0% 18-Aug-97 13:56:54   191 files
